package com.ruoyi.eduManage.domain.vo;

import java.util.List;

/**
 * 作业提交记录导入结果
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class HomeworkImportResultVO {
    
    /** 成功导入数量 */
    private int successCount;
    
    /** 失败数量 */
    private int failCount;
    
    /** 失败记录信息 */
    private List<FailRecord> failRecords;

    private String errorMsg;

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public static class FailRecord {
        /** 学号 */
        private String studentNo;
        
        /** 学生姓名 */
        private String studentName;
        
        /** 失败原因 */
        private String reason;

        public String getStudentNo() {
            return studentNo;
        }

        public void setStudentNo(String studentNo) {
            this.studentNo = studentNo;
        }

        public String getStudentName() {
            return studentName;
        }

        public void setStudentName(String studentName) {
            this.studentName = studentName;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }
    }

    public int getSuccessCount() {
        return successCount;
    }

    public void setSuccessCount(int successCount) {
        this.successCount = successCount;
    }

    public int getFailCount() {
        return failCount;
    }

    public void setFailCount(int failCount) {
        this.failCount = failCount;
    }

    public List<FailRecord> getFailRecords() {
        return failRecords;
    }

    public void setFailRecords(List<FailRecord> failRecords) {
        this.failRecords = failRecords;
    }
}